package pt.mynotesmain;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class DesenhaActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_desenha);
    }

    public void onCancelar(View v){
    	finish();
    }
    public void onCriar(View v){
    	Intent intent= new Intent(this,MyNotesDesenhaActivity.class);
    	startActivity(intent);
    	
    	//String nome="xpto";
    	//insert.put
    }
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_desenha, menu);
        return true;
    }
}
